﻿using System;
using System.Windows.Forms;

namespace JianZhangTool.tool
{
    public partial class FixedMessage : Form
    {
        public FixedMessage()
        {
            InitializeComponent();
        }

        private void confirmButton_Click(object sender, EventArgs e)
        {
            Close();
        }

        /// <summary>
        /// 设置消息
        /// </summary>
        /// <param name="title"></param>
        /// <param name="text"></param>
        public void setMessage(string title, string text)
        {
            Text = title;
            messageLabel.Text = text;
        }
    }
}
